﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="ProductDisable.aspx.cs" Inherits="Admin_ProductDisable" Title="Product Disable Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width:100%;">
        <tr>
            <td colspan="3" width="15%">
                <asp:Label ID="Label2" runat="server" Font-Size="X-Large" 
                    Text="Product Disable Page"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="3" width="15%">
                <hr style="width:70%" />
            </td>
        </tr>
        <tr>
            <td width="15%">
                <asp:Label ID="Label1" runat="server" Text="Select category"></asp:Label>
            </td>
            <td style="text-align: left">
                <asp:DropDownList ID="drdlCategory" runat="server" AutoPostBack="True" 
                    Height="21px" onselectedindexchanged="drdlCategory_SelectedIndexChanged" 
                    Width="121px">
                    <asp:ListItem>- - - - - - - - - - - - - </asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="3">
                <asp:GridView ID="grProductDisable" runat="server" BackColor="White" 
                    BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
                    AutoGenerateColumns="False" onrowupdating="grProductDisable_RowUpdating">
                    <RowStyle BackColor="White" ForeColor="#003399" />
                    <Columns>
                        <asp:BoundField DataField="ProID" HeaderText="ProID" SortExpression="ProID" />
                        <asp:BoundField DataField="ProName" HeaderText="Name" 
                            SortExpression="ProName" />
                        <asp:BoundField DataField="ProDesc" HeaderText="Description" 
                            SortExpression="ProDesc" />
                        <asp:BoundField DataField="ProDate" HeaderText="DateTime" 
                            SortExpression="ProDate" />
                        <asp:BoundField DataField="ProPrice" HeaderText="Price" 
                            SortExpression="ProPrice" />
                        <asp:BoundField DataField="ProImage" HeaderText="Image" 
                            SortExpression="ProImage" />
                        <asp:BoundField DataField="ProWarranty" HeaderText="Warranty" 
                            SortExpression="ProWarranty" />
                        <asp:ButtonField CommandName="Update" Text="Unlock" />
                    </Columns>
                    <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                    <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
                    <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                    <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>

